package ru.stepuk.modern.distributions;

/**
 *
 * @author ivan
 */
public class DegenerateDistribution implements Distribution {

    private double value;

    public DegenerateDistribution(double value) {
        this.value = value;
    }

    public double nextValue() {
        return value;
    }

    @Override
    public String toString() {
        return "const";
    }
}
